package models;

import java.util.Date;

public class FileInfo {

	private String name;
	private String size;
	private boolean isDir;
	private String path;
	private Date modifiedDate;
	
	public FileInfo(String name, String size, boolean isDir, String path, Date date) {
		super();
		this.name = name;
		this.size = size;
		this.isDir = isDir;
		this.path = path;
		this.modifiedDate = date;
	}
	
	public String getName() {
		return name;
	}
	public String getSize() {
		return size;
	}
	public boolean isDir() {
		return isDir;
	}
	public String getPath() {
		return path;
	}

	public Date getModifiedDate() {
		return modifiedDate;
	}
	
	public String toString() {
		return "FileInfo [name=" + name + ", size=" + size + ", isDir=" + isDir
				+ ", path=" + path + "]";
	}
}
